package src.edu.uniquindio.main;

import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
import com.jtattoo.plaf.smart.SmartLookAndFeel;
import java.util.*;
import src.edu.uniquindio.vista.VentanaPrincipal;

public class Main {

	public static void main(String[] args) {

		Properties props = new Properties();

		props.put("logoString", "SEI");
		props.put("licenseKey", "2012 Univesidad del Quindio");

		props.put("selectionBackgroundColor", "209 209 209");
		props.put("menuSelectionBackgroundColor", "73 159 212");

		props.put("controlColor", "255 255 255");
		props.put("controlColorLight", "255 255 255");
		props.put("controlColorDark", "255 255 255");

		props.put("buttonColor", "207 212 73");
		props.put("buttonColorLight", "255 255 255");
		props.put("buttonColorDark", "207 212 73");

		props.put("rolloverColor", "207 212 73");
		props.put("rolloverColorLight", "207 212 73");
		props.put("rolloverColorDark", "255 255 255");

		props.put("windowTitleForegroundColor", "0 0 0");
		props.put("windowTitleBackgroundColor", "73 159 212");
		props.put("windowTitleColorLight", "73 159 212");
		props.put("windowTitleColorDark", "73 159 212");
		props.put("windowBorderColor", "73 159 212");

		// set your theme
		SmartLookAndFeel.setCurrentTheme(props);
		// select the Look and Feel
		try {
			UIManager.setLookAndFeel("com.jtattoo.plaf.smart.SmartLookAndFeel");
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (InstantiationException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (UnsupportedLookAndFeelException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		VentanaPrincipal inst = new VentanaPrincipal();
		inst.setLocationRelativeTo(null);
		inst.setVisible(true);
	}

}
